
<template>
    <div v-if="props.scope.bankTypeList">
        <span v-for="item,index  in  props.scope.bankTypeList">
          <span :class="setDefaultBankStyle(item.defaultFlag)">{{ item.name }}</span>
          <span>{{index+1==props.scope.bankTypeList.length?'':'、'  }}</span>
        </span>
    </div>
</template>
<script setup>
import { onMounted } from 'vue'
const props = defineProps({ scope: { default: [] } })
const setDefaultBankStyle = (code) => {
  switch (code) {
    case 1: return 'defaultStyle';
    case 0: return '';
  }
}

onMounted(() => {
})
</script>
<style scoped>
.defaultStyle {
  color: #409EFF;
}
</style>
